package Factory;

public class Pow implements Operation{
    @Override
    public String calculate(double num1, double num2) {
        return String.valueOf(Math.pow(num1, num2));//返回num1和num2的幂运算结果
    }
}
